//
// #001006 验证布尔表达式 getChar()!= EOF  的取值是0还是1
//
// Created by DongPan on 5/23/2022.
//
#include <stdio.h>

int main(void)
{
    int c;
    while (((c = getchar()) != EOF))
        printf("%c\n", c);
    printf("%d - at EOF\n", c);

    return 0;
}
